enum Dog {
	lab
	pit
	roc
	jrt
}

enum Color {
    red
    blue
    green
}


fn is_red_or_blue(c Color) bool {
    return match c {
        .red, .blue { true } // comma can be used to test multiple values
        .green { false }
    }
}



num := 777
if num > 600 {
	println("600+")
} else if num < 600 {
	println("600-")
} else {
	println("600")
}

println(is_red_or_blue(Color.red))


// s := if num > 600 {"600+"} else {"600-"}


fido := Dog.pit

match fido {
	.lab {println("lab retriever")}
	.pit {println("pitbull")}
	.roc {println("rockwillder")}
	else {println("none")}
}




// script mode
// fn main() {
// 	println(s)
// }